home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
oper_sys
/
emerald
/
emrldsys.lha
/
Utils
/
makedep
/
makedep.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-08-16
|
1KB
|
57 lines
/****************************************************************
* Home-brew makedep.h since actual one was missing from
* distribution.
****************************************************************/
#include <stdio.h>
struct StringListType {
int state;
struct DepListType *dep;
struct StringListType *next;
char *str;
};
struct DepListType {
struct StringListType *inclFile;
struct DepListType *next;
};
#define StringList struct StringListType
#define DepList struct DepListType
StringList *IList, *SrcFiles, *InclDirs, *UserInclDirs;
#define DefaultObjExt "o"
#define DefaultVObjExt "b"
#define DefaultOutputFileName "-"
char OutputFileName[100];
char ObjExt[20];
char *MyName;
int NFlag, UFlag, VFlag, xVFlag, eFlag;
int lFlag, CEFlag;
#define DefaultUnixInclDirs "/usr/include"
#define DefaultVInclDirs "/usr/local/include /usr/include"
#define DefaultXVInclDirs "/usr/local/include /usr/include"
#define DefaultCEInclDirs "/u1/Eden/EdenLibrary/Standard /u1/Eden/EdenLibrary"
#define DefaultEInclDirs "/u1/Eden"
extern int errno;
int Debug;
#define TRUE 1
#define FALSE 0
#define PROCESSED 1
#define UNPROCESSED 0
#define HEADER 2
#define START_MARK_VALUE 3
#define Equal(a,b) (strcmp(a,b)==0)
extern StringList *MakeList();